#ifndef __VO_H
#define __VO_H
#include <iostream>
#include <string>
#include <linux/videodev2.h>
#include <pthread.h>
#include "videoframe.h"
using namespace std;
class VO
{
    private:
        bool m_run = false;
        pthread_t m_thread;
        uint32_t m_width;
        uint32_t m_height;
    protected:
    public:
        struct list_head free_output_queue;
        struct list_head used_output_queue;
    private:
    protected:
        void setup_plane();
    public:
        VO(void);
        ~VO();
    
};
#endif